package tjs.study.notes.base.arthas.service;

import java.util.Random;

/**
 * Created by Nicky.Tang on 2023/5/30 下午10:14
 *
 * @since 02.12.10
 */
public class ArthasService {

    public static String testService(int param) throws InterruptedException {
        System.out.println("service"+test2Service(param));
        return "aa";
    }

    public static String test2Service(int param) throws InterruptedException {
        Thread.currentThread().sleep(new Random().nextInt(10) * 100);
        System.out.println("service2"+param);
        return "aa" + param;
    }

}
